<ul>
    <?php foreach ($access->result() as $ac): ?>
        <li><?php echo anchor('dashboard/index', 'Dashboard') ?></li>
        <?php if ($ac->news > 0): ?>
            <li><?php echo anchor('news/index', 'Berita') ?></li>
        <?php endif ?>
        <?php if ($ac->booking_m > 0): ?>
            <li><?php echo anchor('bookings/index', 'Booking Manajemen') ?></li>
        <?php endif ?>
        <?php // if ($ac->ym > 0): ?>
            <!--<li><?php // echo anchor('airlines/index', 'Airlines') ?></li>-->
        <?php // endif ?>
        <?php if ($ac->bank > 0): ?>
            <li><?php echo anchor('admin_bank/index', 'Data Bank') ?></li>
        <?php endif ?>
        <?php if ($ac->deposit > 0): ?>
            <li><?php echo anchor('deposit_admins/index', 'Deposit') ?></li>
        <?php endif ?>
        <?php if ($ac->document > 0): ?>
            <li><?php echo anchor('documents/index', 'Dokumen / File') ?></li>
        <?php endif ?>
        <?php if ($ac->list_pelanggan > 0): ?>
            <li><?php echo anchor('costumer_lists/index', 'List Konsumen') ?></li>
        <?php endif ?>
        <?php if ($ac->user_access > 0): ?>
            <li><?php echo anchor('user_access/index', 'Management User') ?></li>
        <?php endif ?>
        <?php if ($ac->manajemen_konten > 0): ?>
            <li><?php echo anchor('tabelkontens/index', 'Manajemen Konten') ?></li>
        <?php endif ?>
        <?php if ($ac->ym > 0): ?>
            <li><?php echo anchor('yms/index', 'Yahoo Messenger') ?></li>
        <?php endif ?>
        <?php if ($ac->notifikasi_email > 0): ?>
            <li><?php echo anchor('emails/index', 'Email Notifikasi') ?></li>
        <?php endif ?>
        <?php if ($ac->jadwal_p > 0): ?>
    <li><?php echo anchor('jadwal/index', 'Jadwal Penerbangan')     ?></li>
        <?php endif ?>
        <?php // if ($ac->ym > 0): ?>
    <!--            <li><?php // echo anchor('adminMAccount/index', 'Account Maskapai')       ?></li>-->
        <?php // endif ?>
    <?php endforeach; ?>
</ul>



